﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="HelpEditorOS.NavigationControl"
	x:Name="NavigationControl1"
	d:DesignWidth="640" d:DesignHeight="480">

	<Grid x:Name="NavigationGrid" Visibility="Visible" Margin="0,0,0,8" Width="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" d:LayoutOverrides="Width" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Grid.RowSpan="1" ShowGridLines="False" ScrollViewer.CanContentScroll="False" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<TreeView   SelectedItemChanged="TreeViewSlectionChange_Click" x:Name="CmdletTreeView" Margin="0,33,0,0" Foreground="{DynamicResource Brush1}"  HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto"  >
			  <TreeView.ContextMenu>
			  <ContextMenu x:Name="cm" >
   					<MenuItem Header="Copy Selected Item" Click="OnCopySelection"/>
   					<MenuItem Header="Paste" Click="OnPaste"/>
   					
			  </ContextMenu>
			  </TreeView.ContextMenu>
			</TreeView>
			<StackPanel Height="21" Orientation="Horizontal" x:Name="TreeeNavigationMenu" Margin="0,8,0.192,0" VerticalAlignment="Top" Background="#FF363B44">
				<Button Style="{DynamicResource MenuButtonStyle}" Content="_Export Xml" Command="{Binding ResetImage, ElementName=roomControl, Mode=Default}" Click="ExportXml_Click" IsCancel="True" x:Name="ExportXMLMenuItem"/>
				<Button Style="{DynamicResource MenuButtonStyle}" Content="Export _Text File" x:Name="ExportTextFileMenuItem" Click="ExportTextFile_Click"/>


			</StackPanel>
		</Grid>
</UserControl>